home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip Aralık 2001.iso / prog / office / f_0046 / sbasic.jar / text / sbasic / common / 01030200.xml < prev    next >
Encoding:
Extensible Markup Language  |  2001-09-07  |  7.3 KB  |  113 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>The Basic Editor</title><meta name="filename" content="text/sbasic/common/01030200"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle2{
  5.                 }
  6.         span.Tabelle2A{
  7.                 width:18cm;}
  8.         table.Tabelle1{
  9.                 }
  10.         span.Tabelle1A{
  11.                 width:1.499cm;}
  12.         span.Tabelle1B{
  13.                 width:16.501cm;}
  14.         td.Tabelle1A1{
  15.                 }
  16.         table.Tabelle3{
  17.                 }
  18.         span.Tabelle3A{
  19.                 width:1.499cm;}
  20.         span.Tabelle3B{
  21.                 width:16.501cm;}
  22.         td.Tabelle3A1{
  23.                 }
  24.         p.P1{
  25.                 }
  26.         p.P2{
  27.                 }
  28.         p.P3{
  29.                 }
  30.         p.P4{
  31.                 }
  32.         p.P5{
  33.                 }
  34.         span.T1{
  35.                 font-weight:bold;}
  36.         span.fr1{
  37.                 }
  38.         span.fr2{
  39.                 }
  40.         </style></head><body>
  41.   
  42.   
  43.   <help:to-be-embedded Eid="basiceditor" xmlns:help="http://openoffice.org/2000/help">
  44.   <p class="Head1"><help:link Id="66459">The Basic Editor</help:link></p>
  45.   <p class="Paragraph">Following is a general introduction to the OpenOffice.org Basic Editor.</p>
  46.   </help:to-be-embedded>
  47.   <p class="Paragraph">The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the <span class="T1">Edit</span> menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (e.g., moving from word to word with <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">(Option)</help:case><help:default>(Ctrl)</help:default></help:switch> and the arrow keys).</p>
  48.   <p class="Head2">Navigating in a Project</p>
  49.   <p class="Paragraph">OpenOffice.org Basic several functions that enable you to navigate your way through complex OpenOffice.org Basic projects. The following sections describe these aids in detail:</p>
  50.   <p class="Head3">Using the Library List Box in the OpenOffice.org Basic Toolbar</p>
  51.   <p class="Paragraph">In the <span class="T1">Library</span> list box at the left of the toolbar, you can click on any entry to switch to the first module of a corresponding library.</p>
  52.   <p class="Head3">Using the Object Catalog to Move within a OpenOffice.org Basic Project</p>
  53.   <p class="Paragraph">The object catalog aids you in navigating within complex projects consisting of several libraries and corresponding modules. Proceed as follows:</p>
  54.   <ul class="L1">
  55.    <li class="">
  56.     <p class="P2">Click the <span class="T1">Object Catalog</span> icon in the toolbar.</p>
  57.    </li>
  58.   </ul>
  59.   <table><tr class=""><th style="text-align:left;"><span class="Tabelle2A">
  60.       <p class="TextInTable"><draw:image draw:style-name="fr1" draw:name="Grafik2" text:anchor-type="paragraph" svg:width="9.128cm" svg:height="8.281cm" draw:z-index="1" xlink:href="66856" xlink:type="simple" xlink:show="embed" xlink:actuate="onRequest" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/>
  61.       </p>
  62.      </span></th></tr></table>
  63.   <p class="Paragraph"/>
  64.   <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  65.       <p class="TextInTable"><draw:image draw:style-name="fr2" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onRequest" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/>
  66.       </p>
  67.      </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  68.       <p class="TextInTable">The object catalog remains visible even when you click back in the Editor window.</p>
  69.      </span></th></tr></table>
  70.   <p class="Paragraph"/>
  71.   <ul class="L2">
  72.    <li class="">
  73.     <p class="P3">In the dialog, you will find a list of all existing objects. Many objects (documents, templates, the application itself and the respective libraries and modules) contain subitems that you can double-click to hide or show.</p>
  74.    </li>
  75.    <li class="">
  76.     <p class="P3">To display a certain module in the Editor or to position the cursor directly in a specific SUB or FUNCTION of a module, select the corresponding entry and click <span class="T1">Show</span>.</p>
  77.    </li>
  78.    <li class="">
  79.     <p class="P3">Close the object catalog by clicking the (x) icon in the title bar.</p>
  80.    </li>
  81.   </ul>
  82.   <p class="Head2">Saving and Loading Basic Source Text <help:key-word value="Export; Basic program code" tag="kw66459_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Basic program code; Export" tag="kw66459_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Import; Basic program code" tag="kw66459_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Basic program code; Import" tag="kw66459_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  83.   <p class="Paragraph">OpenOffice.org Basic allows you to export Basic program code to other programming systems, or to import Basic program code in ASCII format.</p>
  84.   <table><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  85.       <p class="TextInTable"><draw:image draw:style-name="fr2" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="2" xlink:href="65640" xlink:type="simple" xlink:show="embed" xlink:actuate="onRequest" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/>
  86.       </p>
  87.      </span></th><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3B">
  88.       <p class="TextInTable">Exporting of Basic dialogs is not possible.</p>
  89.      </span></th></tr></table>
  90.   <p class="Paragraph"/>
  91.   <p class="Head3">This is how you can save the program code of a module as ASCII text</p>
  92.   <ul class="L3">
  93.    <li class="">
  94.     <p class="P4">From the object catalog, select the program code of a module that you want to export as ASCII text.</p>
  95.    </li>
  96.    <li class="">
  97.     <p class="P4">Click the <span class="T1">Save Source As</span> icon in the Macro toolbar. OpenOffice.org Basic opens a file selection dialog, where you can define a file name.</p>
  98.    </li>
  99.    <li class="">
  100.     <p class="P4">Enter the path specification and file name and click <span class="T1">OK</span> to save the file.</p>
  101.    </li>
  102.   </ul>
  103.   <p class="Head3">How to insert ASCII program code at the cursor position</p>
  104.   <ul class="L4">
  105.    <li class="">
  106.     <p class="P5">From the object catalog, select the program code of the module that you want to import as ASCII text.</p>
  107.    </li>
  108.    <li class="">
  109.     <p class="P5">Position the cursor where you want to insert the program code.</p>
  110.    </li>
  111.   </ul>
  112.   <p class="Paragraph"><span class="T1">Click the Insert Source Text icon in the Macro toolbar. In the dialog that follows, select the path and name of the file containing the program code and click OK.</span></p>
  113.  </body></html>